<template>
  <main class="wss-container">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="跟单设置" name="documentary">
        <Documentary></Documentary>
      </el-tab-pane>
      <el-tab-pane label="专家认证" name="expertAuth">
        <ExpertAuth></ExpertAuth>
      </el-tab-pane>
      <!-- <el-tab-pane label="专家设置" name="expertsSet">
        <ExpertsSet></ExpertsSet>
      </el-tab-pane> -->
      <el-tab-pane label="专家设置" name="newExpertsSet">
        <NewexpertsSet></NewexpertsSet>
      </el-tab-pane>
        <!-- <el-tab-pane label="写专家设置" name="xieExpertsSet">
        <XieexpertsSet></XieexpertsSet>
      </el-tab-pane> -->
      <!-- <el-tab-pane label="项目日历" name="projectCalendar">
        <ProjectCalendar></ProjectCalendar>
      </el-tab-pane>
      <el-tab-pane label="咨询日历" name="consultTheCalendar">
        <ConsultTheCalendar></ConsultTheCalendar>
      </el-tab-pane>
      <el-tab-pane label="编辑日历" name="editorialCalendar">
        <EditorialCalendar></EditorialCalendar>
      </el-tab-pane> -->
    </el-tabs>
  </main>
</template>

<script>
import Documentary from "./documentary.vue";
import ExpertAuth from "./expertAuth.vue";
import ExpertsSet from "@/wss/newViews/BK/hr/expertsSet/index.vue";
import NewexpertsSet from "@/wss/newViews/BK/hr/NewexpertsSet/index.vue";
import XieexpertsSet from "@/wss/newViews/BK/hr/NewexpertsSet/newindex.vue";


import ProjectCalendar from "./projectCalendar.vue";
import ConsultTheCalendar from "@/wss/newViews/BK/hr/consultTheCalendar.vue";
import EditorialCalendar from "./editorialCalendar.vue";

export default {
  components: {
    Documentary,
    ExpertAuth,
    ExpertsSet,
    NewexpertsSet,
    ProjectCalendar,
    ConsultTheCalendar,
    EditorialCalendar,
    XieexpertsSet
  },
  data() {
    return {
      activeName: "documentary",
    };
  },
  methods: {
    handleClick({ name }, event) {
      console.log(name, event);
    },
  },
};
</script>

<style lang="scss" scoped>
.wss-container .el-tabs{
  display: flex;
  flex-direction: column;
  height: 100%;
}
::v-deep .el-tabs,
::v-deep .el-tabs__content {
  height: calc(100% - 60px);
}
::v-deep .el-tabs .el-tabs__header{
  height: 40px;
  margin-bottom: 20px;
}
::v-deep .el-tabs .el-tabs__item{
  color: #2E3F5E;
}
::v-deep .el-tab-pane {
  height: 100%;
}
</style>